import type { LoginRes } from "@/types/user"
import { request } from "@/utils/reuqest"


export const loginAPI =(data:object)=>{
  return request<LoginRes>('/park/login','POST',data)
}